import request from '@/utils/request'

// 查询GdAppointmentSettle列表
export function listGdAppointmentSettle(query) {
    return request({
        url: '/api/v1/gdappointmentsettle',
        method: 'get',
        params: query
    })
}

// 查询GdAppointmentSettle详细
export function getGdAppointmentSettle (ID) {
    return request({
        url: '/api/v1/gdappointmentsettle/' + ID,
        method: 'get'
    })
}


// 新增GdAppointmentSettle
export function addGdAppointmentSettle(data) {
    return request({
        url: '/api/v1/gdappointmentsettle',
        method: 'post',
        data: data
    })
}

// 修改GdAppointmentSettle
export function updateGdAppointmentSettle(data) {
    return request({
        url: '/api/v1/gdappointmentsettle/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdAppointmentSettle
export function delGdAppointmentSettle(data) {
    return request({
        url: '/api/v1/gdappointmentsettle',
        method: 'delete',
        data: data
    })
}

